.layui-table-view .layui-table[lay-size=sm] .layui-table-cell {
    height: auto !important;
}

.products {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.products span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.products:not(:last-child) {
    border-bottom: 1px #eee dashed;
}

.products img {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    margin-right: 5px;
    cursor: pointer;
}

.tableInput {
    height: 40px !important;
    line-height: 40px !important;
}


.layui-badge-parent {
    display: flex;
    align-items: center;
    padding: 3px 0;
    margin-bottom: 5px;
}

.layui-badge-parent:last-child {
    padding-bottom: 0;
}

.layui-badge-parent .layui-form-label {
    width: 60px;
    text-align: left;
    padding: 5px 9px;
}


.layui-badge-parent .layui-badge-child .active {
    background: #3B91FF;
    color: #fff;
    transition: .3s;
}

.layui-badge-child .layui-badge-rim {
    height: 28px;
    line-height: 28px;
    width: 60px;

    position: relative;
    border-radius: 5px;
    cursor: pointer;
    /*margin-bottom: 5px;*/
}


.up-down {
    position: absolute;
    top: 0;
    right: 20px;
    width: 45px;
    cursor: pointer;
    color: #00a2d4;
}

.up-down .layui-icon {
    right: 0;
}

.search-form {
    padding-top: 5px;
}

.layui-nav-more {
    transition: all .2s;
}

::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

/* 两个滚动条交接处 -- x轴和y轴 */
::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* 滚动条滑块 */

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #e9e8e8;
}

/* 滚动条轨道 */

::-webkit-scrollbar-track {
    background: #fffefe;
}

.showRed {
    background: #fce7eb;
}

.showGrey {
    background: #e1dddd;
}